@layout("/common/_container.html",{js:["/assets/modular/recy/wasteStation/wasteStation.js","/assets/common/libs/rapid-validator/prototype_for_validation.js","/assets/common/libs/rapid-validator/validation_cn.js","/assets/common/libs/rapid-validator/tooltips.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">垃圾回收站表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <form>
                        <div class="layui-form toolbar">
                            <div class="layui-form-item">
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="id" name="id" placeholder="编号" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="stationName" name="stationName" placeholder="站点名称" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="area" name="area" placeholder="站点地址" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="areaCode" name="areaCode" placeholder="站点地址编码" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="address" name="address" placeholder="站点详细地址" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="gps" name="gps" placeholder="GPS定位" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="mgrUserId" name="mgrUserId" placeholder="责任人" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="mgrPhone" name="mgrPhone" placeholder="责任人手机" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="mgrUnit" name="mgrUnit" placeholder="责任人单位" autocomplete="off"/>
                                </div>
                                <div class="layui-inline">
                                    <input class="layui-input" type="text" id="photo" name="photo" placeholder="垃圾站点现场图片" autocomplete="off"/>
                                </div>


                                <div class="layui-inline">
                                    <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                    @if(shiro.hasPermission("/wasteStation_add")){
                                    <button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                                    @}
                                    @if(shiro.hasPermission("/wasteStation_delete")){
                                    <button id="btnDel" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>删除</button>
                                    @}
                                    <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                                </div>
                            </div>
                        </div>
                    </form>
                    <table class="layui-table" id="wasteStationTable" lay-filter="wasteStationTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    @if(shiro.hasPermission("/wasteStation_edit")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    @}
    @if(shiro.hasPermission("/wasteStation_delete")){
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    @}
</script>

@}